/**
 * 
 */
package switchviz.gui;

import java.awt.CardLayout;
import javax.swing.JPanel;


/**
 * @author Thomas
 *
 */
public class CenterPanel extends JPanel
{
	private static final long serialVersionUID = 1L;
	
	private CardLayout _cardLayout = null;
	
	public CenterPanel()
	{
		super();
		
		initialize();
	}
	
	public CardLayout getCardLayout()
	{
		if (_cardLayout == null)
			_cardLayout = new CardLayout(3, 3);
		
		return _cardLayout;
	}
	
	private void initialize()
	{
		setLayout(getCardLayout());
	}
}
